package prototype;

/**
 * @Author: wenjingyuan
 * @Date: 2023/05/22/20:18
 * @Description:
 */
public class Client {
    public static void main(String[] args) {
        Email email,copyEmail;

        email=new Email();

        copyEmail= (Email) email.clone();

        System.out.println("email == copyEmail?");
        System.out.println(email == copyEmail);

        System.out.println("email.getAttachment() == copyEmail.getAttachment()?");
        System.out.println(email.getAttachment() == copyEmail.getAttachment());
    }
}
